package org.spring.sample;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.spring.sample.mapper._3.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"classpath:applicationContext_3.xml"})
public class DaoTest_3 {
	
	@Autowired
	private SysUserMapper sysUserMapper;
	
	@Test
	public void test() {
		System.out.println(sysUserMapper.selectUser().size());
	}

}
